package vip.xiaonuo.sys.modular.question.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import vip.xiaonuo.sys.modular.question.entity.Achievement;
import vip.xiaonuo.sys.modular.question.entity.Completion;
import vip.xiaonuo.sys.modular.question.entity.Examinationrecord;

import java.util.List;

public interface ExaminationrecordMapper extends BaseMapper<Examinationrecord> {

    Page<Examinationrecord> page(@Param("page") Page page, @Param("ew") QueryWrapper queryWrapper);

    void deleteByUserId(Examinationrecord examinationrecord);

    List<Examinationrecord> queryByUserId(Examinationrecord examinationrecord);

}
